<% wrap_layout :inner do %>
  <% content_for(:custom_share) do %>
    <meta name="twitter:card" content="summary_large_image" />
    <meta property="og:image" content="<%= image_url("og-image-large.png") %>"/>
  <% end %>

  <% content_for :sidebar do %>
    <h4><a href="/intro/index.html">Introduction to Terraform</a></h4>

    <ul class="nav docs-sidenav">
      <li<%= sidebar_current("what") %>>
        <a href="/intro/index.html">What is Terraform?</a>
      </li>

      <li<%= sidebar_current("use-cases") %>>
        <a href="/intro/use-cases.html">Use Cases</a>
      </li>

      <li<%= sidebar_current("vs-other") %>>
        <a href="/intro/vs/index.html">Terraform vs. Other</a>
        <ul class="nav">
          <li<%= sidebar_current("vs-other-chef") %>>
            <a href="/intro/vs/chef-puppet.html">Chef, Puppet, etc.</a>
          </li>
          <li<%= sidebar_current("vs-other-cloudformation") %>>
            <a href="/intro/vs/cloudformation.html">CloudFormation, Heat, etc.</a>
          </li>
          <li<%= sidebar_current("vs-other-boto") %>>
            <a href="/intro/vs/boto.html">Boto, Fog, etc.</a>
          </li>
          <li<%= sidebar_current("vs-other-custom") %>>
            <a href="/intro/vs/custom.html">Custom Solutions</a>
          </li>
        </ul>
      </li>

      <li<%= sidebar_current("examples") %>>
        <a href="/intro/examples/index.html">Example Configurations</a>
        <ul class="nav">
          <li<%= sidebar_current("examples-aws") %>>
            <a href="/intro/examples/aws.html">Two-Tier AWS Architecture</a>
          </li>
          <li<%= sidebar_current("examples-cross-provider") %>>
            <a href="/intro/examples/cross-provider.html">Cross Provider</a>
          </li>
          <li<%= sidebar_current("examples-count") %>>
            <a href="/intro/examples/count.html">Count Parameter</a>
          </li>
          <li<%= sidebar_current("examples-consul") %>>
            <a href="/intro/examples/consul.html">Consul</a>
          </li>
        </ul>
      </li>
    </ul>

    <%= partial("layouts/otherdocs", :locals => { :skip => "Introduction to Terraform" }) %>
  <% end %>

  <%= yield %>
<% end %>
